package com.bdq.basic.application.service;

import com.bdq.basic.application.model.dto.CategoryGetAppDTO;
import com.bdq.basic.application.model.dto.RegionGetAppDTO;
import com.bdq.basic.application.model.query.CategoryGetQry;
import com.bdq.basic.application.model.query.RegionGetQry;

import java.util.List;

/**
 * @author malei
 * @date 2024-05-02 14:49
 */
public interface BaseAppQueryService {

    /**
     * 获取分类
     *
     * @param qry
     * @return
     */
    List<CategoryGetAppDTO> getCategory(CategoryGetQry qry);

    /**
     * 获取区域
     *
     * @param qry
     * @return
     */
    RegionGetAppDTO getRegion(RegionGetQry qry);
}
